package com.cskaoyan.mall.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @description: 该接口定义用户服务暴露给订单服务的接口
 * @author: lxc
 * @date: 2022/5/20 10:09
 */
public interface UserService {

    @GetMapping("/user/get/username")
    String getUsername(@RequestParam(name = "userId") Long userId);
}
